﻿using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Schema;

namespace CXMLStudioIDE.Common
{
    public class DependencyCollection:CollectionBase
    {

        #region Methods

        public void Add(Dependency EntityType)
        {
            InnerList.Add(EntityType);
        }

        public void Remove(int Index)
        {
            InnerList.RemoveAt(Index);
        }

        public void RemoveObject(Dependency EntityType)
        {
            InnerList.Remove(EntityType);
        }

        public Dependency Item(int Index)
        {
            return (Dependency) InnerList[Index];
        }

        #endregion

    }
}